package com.woniuxy.daos;

import com.woniuxy.entitys.Old;
import com.woniuxy.entitys.OldExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OldDao {
    long countByExample(OldExample example);

    int deleteByExample(OldExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Old record);

    int insertSelective(Old record);

    List<Old> selectByExample(OldExample example);

    Old selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Old record, @Param("example") OldExample example);

    int updateByExample(@Param("record") Old record, @Param("example") OldExample example);

    int updateByPrimaryKeySelective(Old record);

    int updateByPrimaryKey(Old record);
}